package com.mb.microservice.framework.core.entity;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.beans.Transient;
import java.util.List;

/**
 * @PackageName: com.mb.microservice.framework.core.entity
 * @ClassName: SearchBaseEntity
 * @Description: 搜索引擎超类
 * @author: ABing
 * @date: 2020/10/16
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public abstract class SearchBaseEntity {
    @JsonIgnore
    public transient String beginDate;
    @JsonIgnore
    public transient String endDate;

    public abstract List<JSONObject> getAnds();
}
